package com.biosimilarity.parallelOgram.model.parallelOgram;
import com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.*;

public class PrettyPrinter
{
  //For certain applications increasing the initial size of the buffer may improve performance.
  private static final int INITIAL_BUFFER_SIZE = 128;
  //You may wish to change the parentheses used in precedence.
  private static final String _L_PAREN = new String("(");
  private static final String _R_PAREN = new String(")");
  //You may wish to change render
  private static void render(String s)
  {
    if (s.equals("{"))
    {
       buf_.append("\n");
       indent();
       buf_.append(s);
       _n_ = _n_ + 2;
       buf_.append("\n");
       indent();
    }
    else if (s.equals("(") || s.equals("["))
       buf_.append(s);
    else if (s.equals(")") || s.equals("]"))
    {
       backup();
       buf_.append(s);
       buf_.append(" ");
    }
    else if (s.equals("}"))
    {
       _n_ = _n_ - 2;
       backup();
       backup();
       buf_.append(s);
       buf_.append("\n");
       indent();
    }
    else if (s.equals(","))
    {
       backup();
       buf_.append(s);
       buf_.append(" ");
    }
    else if (s.equals(";"))
    {
       backup();
       buf_.append(s);
       buf_.append("\n");
       indent();
    }
    else if (s.equals("")) return;
    else
    {
       buf_.append(s);
       buf_.append(" ");
    }
  }


  //  print and show methods are defined for each category.
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectionExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectionExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationBody foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationBody foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormals foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormals foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SitePtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SitePtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDeclOrCond foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDeclOrCond foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerator foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerator foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessCondition foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessCondition foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDeclOrCond foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDeclOrCond foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerator foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerator foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedCondition foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedCondition foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessProperty foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessProperty foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessShape foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessShape foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationShape foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationShape foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyShape foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyShape foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedShape foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedShape foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionProp foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionProp foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteProp foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteProp foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsProp foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsProp foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalProp foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalProp foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GroundProcessProperty foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GroundProcessProperty foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.LogicalGround foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.LogicalGround foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVar foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVar foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessVar foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessVar foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListPtnPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListPtnPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListExchangeExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListExchangeExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessDeclOrCond foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessDeclOrCond foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedDeclOrCond foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedDeclOrCond foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedShape foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedShape foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessProperty foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessProperty foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessShape foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessShape foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListFormalProp foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListFormalProp foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListReceiveExpr foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListReceiveExpr foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String print(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedPtn foo)
  {
    pp(foo, 0);
    trim();
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  public static String show(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedPtn foo)
  {
    sh(foo);
    String temp = buf_.toString();
    buf_.delete(0,buf_.length());
    return temp;
  }
  /***   You shouldn't need to change anything beyond this point.   ***/

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Mixed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Mixed _mixed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Mixed) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_mixed.collectionexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Selected)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Selected _selected = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Selected) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_selected.summationexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Engaged)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Engaged _engaged = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Engaged) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_engaged.receiveexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Carried)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Carried _carried = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Carried) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_carried.sendexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Served)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Served _served = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Served) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("*");
       pp(_served.siteexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Varied)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Varied _varied = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Varied) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_varied.processvar_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Emptied)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Emptied _emptied = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Emptied) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("0");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectionExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedExtension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedExtension _collectedextension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedExtension) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{");
       pp(_collectedextension.listprocessexpr_, 0);
       render("}");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedIntension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedIntension _collectedintension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedIntension) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{");
       pp(_collectedintension.processptn_, 0);
       render("|");
       pp(_collectedintension.listprocessdeclorcond_, 0);
       render("}");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Switched)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Switched _switched = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Switched) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("switch");
       pp(_switched.summationbody_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationBody foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedExtension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedExtension _switchedextension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedExtension) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{");
       pp(_switchedextension.listreceiveexpr_, 0);
       render("}");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedIntension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedIntension _switchedintension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedIntension) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{");
       pp(_switchedintension.guardedptn_, 0);
       render("|");
       pp(_switchedintension.listguardeddeclorcond_, 0);
       render("}");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Synched)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Synched _synched = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Synched) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_synched.siteexpr_, 0);
       render("?");
       pp(_synched.abstractionexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CoSynched)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CoSynched _cosynched = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CoSynched) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_cosynched.siteexpr_, 0);
       render("!");
       pp(_cosynched.informationexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Abstracted)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Abstracted _abstracted = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Abstracted) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_abstracted.exchangeformals_, 0);
       pp(_abstracted.processexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Manifested)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Manifested _manifested = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Manifested) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("(");
       pp(_manifested.listexchangeexpr_, 0);
       render(")");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormals foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormalSpec)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormalSpec _exchangeformalspec = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormalSpec) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("(");
       pp(_exchangeformalspec.listexchangeexpr_, 0);
       render(")");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureDestructed _mixturedestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureDestructed) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{:");
       pp(_mixturedestructed.listprocessptn_, 0);
       render(":}");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionDestructed _selectiondestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionDestructed) foo;
       if (_i_ > 0) render(_L_PAREN);
       render(":switch:");
       pp(_selectiondestructed.selectionbodyptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveDestructed _receivedestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveDestructed) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_receivedestructed.guardedptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendDestructed _senddestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendDestructed) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_senddestructed.siteptn_, 0);
       render(":!");
       pp(_senddestructed.informationptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeDestructed _servedestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeDestructed) foo;
       if (_i_ > 0) render(_L_PAREN);
       render(":*");
       pp(_servedestructed.selectionbodyptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnLiteral)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnLiteral _processptnliteral = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnLiteral) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("'");
       pp(_processptnliteral.processexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnPVar)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnPVar _processptnpvar = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnPVar) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processptnpvar.processvar_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnWild)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnWild _processptnwild = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnWild) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processptnwild.wild_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyDestruct _selectbodydestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{");
       pp(_selectbodydestruct.listguardedptn_, 0);
       render("}");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDestruct _guardeddestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_guardeddestruct.siteptn_, 0);
       render(":?");
       pp(_guardeddestruct.abstractionptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationDestruct _informationdestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("(");
       pp(_informationdestruct.listprocessptn_, 0);
       render(")");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionDestruct _abstractiondestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_abstractiondestruct.formalsptn_, 0);
       pp(_abstractiondestruct.processptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SitePtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotePtn)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotePtn _sitequoteptn = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotePtn) foo;
       if (_i_ > 0) render(_L_PAREN);
       render(":$");
       pp(_sitequoteptn.processptn_, 0);
       render("$:");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarPtn)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarPtn _sitevarptn = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarPtn) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_sitevarptn.sitevar_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteWildPtn)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteWildPtn _sitewildptn = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteWildPtn) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_sitewildptn.wild_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsDestruct _formalsdestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("(");
       pp(_formalsdestruct.listptnptn_, 0);
       render(")");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnPtn foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnLiteralDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnLiteralDestruct _ptnliteraldestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnLiteralDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("@");
       render("(");
       pp(_ptnliteraldestruct.processptn_, 0);
       render(")");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnVarDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnVarDestruct _ptnvardestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnVarDestruct) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("@");
       pp(_ptnvardestruct.uident_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Substituted)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Substituted _substituted = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Substituted) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_substituted.processptn_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Variable)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Variable _variable = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Variable) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_variable.sitevar_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDeclOrCond foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessRequired)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessRequired _processrequired = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessRequired) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processrequired.processcondition_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerated)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerated _processgenerated = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerated) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processgenerated.processgenerator_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerator foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenExpr _processgenexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenExpr) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processgenexpr.processptn_, 0);
       render("<-");
       pp(_processgenexpr.processexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessCondition foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessReqExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessReqExpr _processreqexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessReqExpr) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processreqexpr.processptn_, 0);
       render("in");
       pp(_processreqexpr.processproperty_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDeclOrCond foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedRequired)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedRequired _guardedrequired = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedRequired) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_guardedrequired.guardedcondition_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerated)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerated _guardedgenerated = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerated) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_guardedgenerated.guardedgenerator_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerator foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenExpr _guardedgenexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenExpr) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_guardedgenexpr.guardedptn_, 0);
       render("<-");
       pp(_guardedgenexpr.receiveexpr_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedCondition foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedReqExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedReqExpr _guardedreqexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedReqExpr) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_guardedreqexpr.guardedptn_, 0);
       render("in");
       pp(_guardedreqexpr.guardedshape_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessProperty foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDisjunction)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDisjunction _processdisjunction = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDisjunction) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processdisjunction.processproperty_1, 0);
       render("||");
       pp(_processdisjunction.processproperty_2, 1);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessConjunction)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessConjunction _processconjunction = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessConjunction) foo;
       if (_i_ > 1) render(_L_PAREN);
       pp(_processconjunction.processproperty_1, 1);
       render("&");
       pp(_processconjunction.processproperty_2, 2);
       if (_i_ > 1) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessNegation)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessNegation _processnegation = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessNegation) foo;
       if (_i_ > 2) render(_L_PAREN);
       render("~");
       pp(_processnegation.processproperty_, 2);
       if (_i_ > 2) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessStructure)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessStructure _processstructure = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessStructure) foo;
       if (_i_ > 2) render(_L_PAREN);
       pp(_processstructure.processshape_, 0);
       if (_i_ > 2) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGround)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGround _processground = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGround) foo;
       if (_i_ > 2) render(_L_PAREN);
       pp(_processground.groundprocessproperty_, 0);
       if (_i_ > 2) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessShape foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureProp _mixtureprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{?");
       pp(_mixtureprop.listprocessproperty_, 0);
       render("?}");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveProp _receiveprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_receiveprop.guardedshape_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendProp _sendprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_sendprop.siteprop_, 0);
       render("?!");
       pp(_sendprop.informationshape_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeProp _serveprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("?*");
       pp(_serveprop.selectionbodyshape_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationShape foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.DataShape)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.DataShape _datashape = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.DataShape) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("(?");
       pp(_datashape.listprocessproperty_, 0);
       render("?)");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyShape foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyProp _selectbodyprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("{");
       pp(_selectbodyprop.listguardedshape_, 0);
       render("}");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedShape foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedProp _guardedprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_guardedprop.siteprop_, 0);
       render("??");
       pp(_guardedprop.abstractionprop_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionProp foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractedProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractedProp _abstractedprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractedProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_abstractedprop.formalsprop_, 0);
       pp(_abstractedprop.processproperty_, 2);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteProp foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteShape)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteShape _siteshape = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteShape) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("?$");
       pp(_siteshape.processproperty_, 0);
       render("$?");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsProp foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamsProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamsProp _paramsprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamsProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("(");
       pp(_paramsprop.listformalprop_, 0);
       render(")");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalProp foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamIdentProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamIdentProp _paramidentprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamIdentProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_paramidentprop.uident_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamShapeProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamShapeProp _paramshapeprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamShapeProp) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_paramshapeprop.siteprop_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GroundProcessProperty foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessLogicGround)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessLogicGround _processlogicground = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessLogicGround) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processlogicground.logicalground_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.LogicalGround foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Verity)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Verity _verity = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Verity) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("true");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Absurdity)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Absurdity _absurdity = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Absurdity) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("false");
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Nullity)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Nullity _nullity = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Nullity) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("Nil");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteExpr foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteIdent)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteIdent _siteident = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteIdent) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_siteident.lident_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
    else     if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotation)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotation _sitequotation = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotation) foo;
       if (_i_ > 0) render(_L_PAREN);
       render("$");
       pp(_sitequotation.processexpr_, 0);
       render("$");
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVar foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarIdent)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarIdent _sitevarident = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarIdent) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_sitevarident.lident_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessVar foo, int _i_)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessIdent)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessIdent _processident = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessIdent) foo;
       if (_i_ > 0) render(_L_PAREN);
       pp(_processident.uident_, 0);
       if (_i_ > 0) render(_R_PAREN);
    }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessExpr foo, int _i_)
  {
     for (java.util.Iterator<ProcessExpr> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessPtn foo, int _i_)
  {
     for (java.util.Iterator<ProcessPtn> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListPtnPtn foo, int _i_)
  {
     for (java.util.Iterator<PtnPtn> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListExchangeExpr foo, int _i_)
  {
     for (java.util.Iterator<ExchangeExpr> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessDeclOrCond foo, int _i_)
  {
     for (java.util.Iterator<ProcessDeclOrCond> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedDeclOrCond foo, int _i_)
  {
     for (java.util.Iterator<GuardedDeclOrCond> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedShape foo, int _i_)
  {
     for (java.util.Iterator<GuardedShape> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessProperty foo, int _i_)
  {
     for (java.util.Iterator<ProcessProperty> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessShape foo, int _i_)
  {
     for (java.util.Iterator<ProcessShape> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListFormalProp foo, int _i_)
  {
     for (java.util.Iterator<FormalProp> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListReceiveExpr foo, int _i_)
  {
     for (java.util.Iterator<ReceiveExpr> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }

  private static void pp(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedPtn foo, int _i_)
  {
     for (java.util.Iterator<GuardedPtn> it = foo.iterator(); it.hasNext();)
     {
       pp(it.next(), 0);
       if (it.hasNext()) {
         render(",");
       } else {
         render("");
       }
     }
  }


  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Mixed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Mixed _mixed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Mixed) foo;
       render("(");
       render("Mixed");
       sh(_mixed.collectionexpr_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Selected)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Selected _selected = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Selected) foo;
       render("(");
       render("Selected");
       sh(_selected.summationexpr_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Engaged)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Engaged _engaged = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Engaged) foo;
       render("(");
       render("Engaged");
       sh(_engaged.receiveexpr_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Carried)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Carried _carried = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Carried) foo;
       render("(");
       render("Carried");
       sh(_carried.sendexpr_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Served)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Served _served = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Served) foo;
       render("(");
       render("Served");
       sh(_served.siteexpr_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Varied)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Varied _varied = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Varied) foo;
       render("(");
       render("Varied");
       sh(_varied.processvar_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Emptied)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Emptied _emptied = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Emptied) foo;
       render("Emptied");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectionExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedExtension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedExtension _collectedextension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedExtension) foo;
       render("(");
       render("CollectedExtension");
       render("[");
       sh(_collectedextension.listprocessexpr_);
       render("]");
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedIntension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedIntension _collectedintension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CollectedIntension) foo;
       render("(");
       render("CollectedIntension");
       sh(_collectedintension.processptn_);
       render("[");
       sh(_collectedintension.listprocessdeclorcond_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Switched)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Switched _switched = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Switched) foo;
       render("(");
       render("Switched");
       sh(_switched.summationbody_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SummationBody foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedExtension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedExtension _switchedextension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedExtension) foo;
       render("(");
       render("SwitchedExtension");
       render("[");
       sh(_switchedextension.listreceiveexpr_);
       render("]");
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedIntension)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedIntension _switchedintension = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SwitchedIntension) foo;
       render("(");
       render("SwitchedIntension");
       sh(_switchedintension.guardedptn_);
       render("[");
       sh(_switchedintension.listguardeddeclorcond_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Synched)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Synched _synched = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Synched) foo;
       render("(");
       render("Synched");
       sh(_synched.siteexpr_);
       sh(_synched.abstractionexpr_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CoSynched)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CoSynched _cosynched = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.CoSynched) foo;
       render("(");
       render("CoSynched");
       sh(_cosynched.siteexpr_);
       sh(_cosynched.informationexpr_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Abstracted)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Abstracted _abstracted = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Abstracted) foo;
       render("(");
       render("Abstracted");
       sh(_abstracted.exchangeformals_);
       sh(_abstracted.processexpr_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Manifested)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Manifested _manifested = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Manifested) foo;
       render("(");
       render("Manifested");
       render("[");
       sh(_manifested.listexchangeexpr_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormals foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormalSpec)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormalSpec _exchangeformalspec = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeFormalSpec) foo;
       render("(");
       render("ExchangeFormalSpec");
       render("[");
       sh(_exchangeformalspec.listexchangeexpr_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureDestructed _mixturedestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureDestructed) foo;
       render("(");
       render("MixtureDestructed");
       render("[");
       sh(_mixturedestructed.listprocessptn_);
       render("]");
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionDestructed _selectiondestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionDestructed) foo;
       render("(");
       render("SelectionDestructed");
       sh(_selectiondestructed.selectionbodyptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveDestructed _receivedestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveDestructed) foo;
       render("(");
       render("ReceiveDestructed");
       sh(_receivedestructed.guardedptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendDestructed _senddestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendDestructed) foo;
       render("(");
       render("SendDestructed");
       sh(_senddestructed.siteptn_);
       sh(_senddestructed.informationptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeDestructed)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeDestructed _servedestructed = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeDestructed) foo;
       render("(");
       render("ServeDestructed");
       sh(_servedestructed.selectionbodyptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnLiteral)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnLiteral _processptnliteral = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnLiteral) foo;
       render("(");
       render("ProcessPtnLiteral");
       sh(_processptnliteral.processexpr_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnPVar)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnPVar _processptnpvar = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnPVar) foo;
       render("(");
       render("ProcessPtnPVar");
       sh(_processptnpvar.processvar_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnWild)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnWild _processptnwild = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessPtnWild) foo;
       render("(");
       render("ProcessPtnWild");
       sh(_processptnwild.wild_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyDestruct _selectbodydestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyDestruct) foo;
       render("(");
       render("SelectBodyDestruct");
       render("[");
       sh(_selectbodydestruct.listguardedptn_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDestruct _guardeddestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDestruct) foo;
       render("(");
       render("GuardedDestruct");
       sh(_guardeddestruct.siteptn_);
       sh(_guardeddestruct.abstractionptn_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationDestruct _informationdestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationDestruct) foo;
       render("(");
       render("InformationDestruct");
       render("[");
       sh(_informationdestruct.listprocessptn_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionDestruct _abstractiondestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionDestruct) foo;
       render("(");
       render("AbstractionDestruct");
       sh(_abstractiondestruct.formalsptn_);
       sh(_abstractiondestruct.processptn_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SitePtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotePtn)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotePtn _sitequoteptn = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotePtn) foo;
       render("(");
       render("SiteQuotePtn");
       sh(_sitequoteptn.processptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarPtn)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarPtn _sitevarptn = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarPtn) foo;
       render("(");
       render("SiteVarPtn");
       sh(_sitevarptn.sitevar_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteWildPtn)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteWildPtn _sitewildptn = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteWildPtn) foo;
       render("(");
       render("SiteWildPtn");
       sh(_sitewildptn.wild_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsDestruct _formalsdestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsDestruct) foo;
       render("(");
       render("FormalsDestruct");
       render("[");
       sh(_formalsdestruct.listptnptn_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnPtn foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnLiteralDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnLiteralDestruct _ptnliteraldestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnLiteralDestruct) foo;
       render("(");
       render("PtnLiteralDestruct");
       sh(_ptnliteraldestruct.processptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnVarDestruct)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnVarDestruct _ptnvardestruct = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.PtnVarDestruct) foo;
       render("(");
       render("PtnVarDestruct");
       sh(_ptnvardestruct.uident_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ExchangeExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Substituted)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Substituted _substituted = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Substituted) foo;
       render("(");
       render("Substituted");
       sh(_substituted.processptn_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Variable)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Variable _variable = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Variable) foo;
       render("(");
       render("Variable");
       sh(_variable.sitevar_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDeclOrCond foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessRequired)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessRequired _processrequired = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessRequired) foo;
       render("(");
       render("ProcessRequired");
       sh(_processrequired.processcondition_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerated)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerated _processgenerated = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerated) foo;
       render("(");
       render("ProcessGenerated");
       sh(_processgenerated.processgenerator_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenerator foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenExpr _processgenexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGenExpr) foo;
       render("(");
       render("ProcessGenExpr");
       sh(_processgenexpr.processptn_);
       sh(_processgenexpr.processexpr_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessCondition foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessReqExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessReqExpr _processreqexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessReqExpr) foo;
       render("(");
       render("ProcessReqExpr");
       sh(_processreqexpr.processptn_);
       sh(_processreqexpr.processproperty_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedDeclOrCond foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedRequired)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedRequired _guardedrequired = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedRequired) foo;
       render("(");
       render("GuardedRequired");
       sh(_guardedrequired.guardedcondition_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerated)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerated _guardedgenerated = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerated) foo;
       render("(");
       render("GuardedGenerated");
       sh(_guardedgenerated.guardedgenerator_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenerator foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenExpr _guardedgenexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedGenExpr) foo;
       render("(");
       render("GuardedGenExpr");
       sh(_guardedgenexpr.guardedptn_);
       sh(_guardedgenexpr.receiveexpr_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedCondition foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedReqExpr)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedReqExpr _guardedreqexpr = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedReqExpr) foo;
       render("(");
       render("GuardedReqExpr");
       sh(_guardedreqexpr.guardedptn_);
       sh(_guardedreqexpr.guardedshape_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessProperty foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDisjunction)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDisjunction _processdisjunction = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessDisjunction) foo;
       render("(");
       render("ProcessDisjunction");
       sh(_processdisjunction.processproperty_1);
       sh(_processdisjunction.processproperty_2);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessConjunction)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessConjunction _processconjunction = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessConjunction) foo;
       render("(");
       render("ProcessConjunction");
       sh(_processconjunction.processproperty_1);
       sh(_processconjunction.processproperty_2);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessNegation)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessNegation _processnegation = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessNegation) foo;
       render("(");
       render("ProcessNegation");
       sh(_processnegation.processproperty_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessStructure)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessStructure _processstructure = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessStructure) foo;
       render("(");
       render("ProcessStructure");
       sh(_processstructure.processshape_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGround)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGround _processground = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessGround) foo;
       render("(");
       render("ProcessGround");
       sh(_processground.groundprocessproperty_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessShape foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureProp _mixtureprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.MixtureProp) foo;
       render("(");
       render("MixtureProp");
       render("[");
       sh(_mixtureprop.listprocessproperty_);
       render("]");
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveProp _receiveprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ReceiveProp) foo;
       render("(");
       render("ReceiveProp");
       sh(_receiveprop.guardedshape_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendProp _sendprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SendProp) foo;
       render("(");
       render("SendProp");
       sh(_sendprop.siteprop_);
       sh(_sendprop.informationshape_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeProp _serveprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ServeProp) foo;
       render("(");
       render("ServeProp");
       sh(_serveprop.selectionbodyshape_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.InformationShape foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.DataShape)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.DataShape _datashape = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.DataShape) foo;
       render("(");
       render("DataShape");
       render("[");
       sh(_datashape.listprocessproperty_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectionBodyShape foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyProp _selectbodyprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SelectBodyProp) foo;
       render("(");
       render("SelectBodyProp");
       render("[");
       sh(_selectbodyprop.listguardedshape_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedShape foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedProp _guardedprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GuardedProp) foo;
       render("(");
       render("GuardedProp");
       sh(_guardedprop.siteprop_);
       sh(_guardedprop.abstractionprop_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractionProp foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractedProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractedProp _abstractedprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.AbstractedProp) foo;
       render("(");
       render("AbstractedProp");
       sh(_abstractedprop.formalsprop_);
       sh(_abstractedprop.processproperty_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteProp foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteShape)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteShape _siteshape = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteShape) foo;
       render("(");
       render("SiteShape");
       sh(_siteshape.processproperty_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalsProp foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamsProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamsProp _paramsprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamsProp) foo;
       render("(");
       render("ParamsProp");
       render("[");
       sh(_paramsprop.listformalprop_);
       render("]");
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.FormalProp foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamIdentProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamIdentProp _paramidentprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamIdentProp) foo;
       render("(");
       render("ParamIdentProp");
       sh(_paramidentprop.uident_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamShapeProp)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamShapeProp _paramshapeprop = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ParamShapeProp) foo;
       render("(");
       render("ParamShapeProp");
       sh(_paramshapeprop.siteprop_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.GroundProcessProperty foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessLogicGround)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessLogicGround _processlogicground = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessLogicGround) foo;
       render("(");
       render("ProcessLogicGround");
       sh(_processlogicground.logicalground_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.LogicalGround foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Verity)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Verity _verity = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Verity) foo;
       render("Verity");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Absurdity)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Absurdity _absurdity = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Absurdity) foo;
       render("Absurdity");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Nullity)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Nullity _nullity = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.Nullity) foo;
       render("Nullity");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteExpr foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteIdent)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteIdent _siteident = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteIdent) foo;
       render("(");
       render("SiteIdent");
       sh(_siteident.lident_);
       render(")");
    }
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotation)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotation _sitequotation = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteQuotation) foo;
       render("(");
       render("SiteQuotation");
       sh(_sitequotation.processexpr_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVar foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarIdent)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarIdent _sitevarident = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.SiteVarIdent) foo;
       render("(");
       render("SiteVarIdent");
       sh(_sitevarident.lident_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessVar foo)
  {
    if (foo instanceof com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessIdent)
    {
       com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessIdent _processident = (com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ProcessIdent) foo;
       render("(");
       render("ProcessIdent");
       sh(_processident.uident_);
       render(")");
    }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessExpr foo)
  {
     for (java.util.Iterator<ProcessExpr> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessPtn foo)
  {
     for (java.util.Iterator<ProcessPtn> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListPtnPtn foo)
  {
     for (java.util.Iterator<PtnPtn> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListExchangeExpr foo)
  {
     for (java.util.Iterator<ExchangeExpr> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessDeclOrCond foo)
  {
     for (java.util.Iterator<ProcessDeclOrCond> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedDeclOrCond foo)
  {
     for (java.util.Iterator<GuardedDeclOrCond> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedShape foo)
  {
     for (java.util.Iterator<GuardedShape> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessProperty foo)
  {
     for (java.util.Iterator<ProcessProperty> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListProcessShape foo)
  {
     for (java.util.Iterator<ProcessShape> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListFormalProp foo)
  {
     for (java.util.Iterator<FormalProp> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListReceiveExpr foo)
  {
     for (java.util.Iterator<ReceiveExpr> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }

  private static void sh(com.biosimilarity.parallelOgram.model.parallelOgram.Absyn.ListGuardedPtn foo)
  {
     for (java.util.Iterator<GuardedPtn> it = foo.iterator(); it.hasNext();)
     {
       sh(it.next());
       if (it.hasNext())
         render(",");
     }
  }


  private static void pp(Integer n, int _i_) { buf_.append(n); buf_.append(" "); }
  private static void pp(Double d, int _i_) { buf_.append(d); buf_.append(" "); }
  private static void pp(String s, int _i_) { buf_.append(s); buf_.append(" "); }
  private static void pp(Character c, int _i_) { buf_.append("'" + c.toString() + "'"); buf_.append(" "); }
  private static void sh(Integer n) { render(n.toString()); }
  private static void sh(Double d) { render(d.toString()); }
  private static void sh(Character c) { render(c.toString()); }
  private static void sh(String s) { printQuoted(s); }
  private static void printQuoted(String s) { render("\"" + s + "\""); }
  private static void indent()
  {
    int n = _n_;
    while (n > 0)
    {
      buf_.append(" ");
      n--;
    }
  }
  private static void backup()
  {
     if (buf_.charAt(buf_.length() - 1) == ' ') {
      buf_.setLength(buf_.length() - 1);
    }
  }
  private static void trim()
  {
     while (buf_.length() > 0 && buf_.charAt(0) == ' ')
        buf_.deleteCharAt(0); 
    while (buf_.length() > 0 && buf_.charAt(buf_.length()-1) == ' ')
        buf_.deleteCharAt(buf_.length()-1);
  }
  private static int _n_ = 0;
  private static StringBuilder buf_ = new StringBuilder(INITIAL_BUFFER_SIZE);
}

